package com.renjiyue.pojo;

import org.springframework.stereotype.Component;

@Component  //将这个类标注为Spring的一个组件，放到容器中
public class Dog {
    public String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
